package com.blog.cmrpersonalblog.dto.notification.respnose;

import lombok.Data;

/**
 * 通知统计响应DTO
 */
@Data
public class NotificationStatsResponse {
    /**
     * 用户ID
     */
    private Long userId;

    /**
     * 未读粉丝通知数
     */
    private Integer unreadFollowCount;

    /**
     * 未读点赞通知数
     */
    private Integer unreadLikeCount;

    /**
     * 未读收藏通知数
     */
    private Integer unreadCollectCount;

    /**
     * 未读评论通知数
     */
    private Integer unreadCommentCount;

    /**
     * 未读回复通知数
     */
    private Integer unreadReplyCount;

    /**
     * 未读@提及通知数
     */
    private Integer unreadMentionCount;

    /**
     * 未读系统通知数
     */
    private Integer unreadSystemCount;

    /**
     * 未读公告数
     */
    private Integer unreadAnnouncementCount;

    /**
     * 总未读通知数（包含公告）
     */
    private Integer totalUnreadCount;

    /**
     * 是否有未读通知
     */
    private Boolean hasUnread;

    /**
     * 初始化默认值
     */
    public NotificationStatsResponse() {
        this.unreadFollowCount = 0;
        this.unreadLikeCount = 0;
        this.unreadCollectCount = 0;
        this.unreadCommentCount = 0;
        this.unreadReplyCount = 0;
        this.unreadMentionCount = 0;
        this.unreadSystemCount = 0;
        this.unreadAnnouncementCount = 0;
        this.totalUnreadCount = 0;
        this.hasUnread = false;
    }

}
